﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Elf.Data.Entity.Management
{
    /// <summary>
    /// Abstract base class for all other DbContextManager classes. 
    /// </summary>
    public abstract class DbContextManager<T> where T : ContextBase, new()
    {
        /// <summary>
        /// Returns a reference to an DbContext instance.
        /// </summary>
        public abstract T DbContext
        {
            get;
        }
    }
}
